package 状态机.请假demo.handler.impl.annualleavespecifichandler.ceo;


import 状态机.请假demo.entity.LeavePermit;
import 状态机.请假demo.handler.CommonStatusHandler;

public class CEOAgreeAnnualLeavePermitStatusHandler extends CommonStatusHandler {


    @Override
    protected void doSpecificHandler(LeavePermit leavePermit) {
        System.out.println(String.format("user:%s--CEO同意休%s的申请--leavePermit.status is:%s",
                leavePermit.getUser(),
                leavePermit.getLeavePermitType().getMemo(),
                leavePermit.getStatus().getStatus()));
    }
}
